package com.loren.demo22.entity;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.quartz.Job;
import org.quartz.JobKey;

import java.util.Map;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class TaskDefine {

    private JobKey jobKey;

    private String description;

    private String cronExpression;

    private Map<String, Object> jobDataMap;

    private Class<? extends Job> jobClass;
}
